package crazy.extend;

public class Bird extends Animal
{
	private Animal a;
	public Bird()
	{}
	
	public Bird(Animal a)
	{
		this.a = a;
	}
	
	public void fly()
	{
		System.out.println("fly");
	}
	
	public void breath()
	{
		a.breath();
	}
}
